package cn.summit.web.controller;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @author summit
 * @since 2020/3/3 16:33
 */
@Configuration
public class WebRouter implements WebMvcConfigurer {

    @Override
    public void addViewControllers(ViewControllerRegistry registry) {
    //    registry.addViewController("/login/page").setViewName("index");
    }
}
